package com.itmg.analyze.thread;

import com.itmg.factory.AnalyzeFactory;
import com.itmg.vo.SearchResultVO;
import com.itmg.vo.TargetDataVO;

public class RakutenSearchThread implements Runnable {

	private TargetDataVO rakutendata;
	private SearchResultVO rekutenVO;
	
	public SearchResultVO getKakakuVO(){
		return rekutenVO;
	}
	
	public RakutenSearchThread(TargetDataVO rakutendata){
		this.rakutendata = rakutendata;
	}

	public void run() {
		try {
			rekutenVO = AnalyzeFactory.getRakutenDataAnlyze().getSearchResultItemVO(rakutendata);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
